home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3102 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 68 6f 73 74 2e 6c |Path: ne|wshost.l|
|00000010| 61 6e 6c 2e 67 6f 76 21 | 74 61 6e 6d 6f 79 0a 46 |anl.gov!|tanmoy.F|
|00000020| 72 6f 6d 3a 20 74 61 6e | 6d 6f 79 40 71 63 64 2e |rom: tan|moy@qcd.|
|00000030| 6c 61 6e 6c 2e 67 6f 76 | 20 28 54 61 6e 6d 6f 79 |lanl.gov| (Tanmoy|
|00000040| 20 42 68 61 74 74 61 63 | 68 61 72 79 61 29 0a 4e | Bhattac|harya).N|
|00000050| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000060| 6c 61 6e 67 2e 63 0a 53 | 75 62 6a 65 63 74 3a 20 |lang.c.S|ubject: |
|00000070| 52 65 3a 20 73 69 7a 65 | 6f 66 20 61 72 72 61 79 |Re: size|of array|
|00000080| 73 20 69 6e 20 73 74 72 | 75 63 74 73 0a 46 6f 6c |s in str|ucts.Fol|
|00000090| 6c 6f 77 75 70 2d 54 6f | 3a 20 63 6f 6d 70 2e 6c |lowup-To|: comp.l|
|000000a0| 61 6e 67 2e 63 0a 44 61 | 74 65 3a 20 32 36 20 4a |ang.c.Da|te: 26 J|
|000000b0| 61 6e 20 31 39 39 36 20 | 30 33 3a 31 35 3a 31 31 |an 1996 |03:15:11|
|000000c0| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000000d0| 6e 3a 20 4c 6f 73 20 41 | 6c 61 6d 6f 73 20 4e 61 |n: Los A|lamos Na|
|000000e0| 74 69 6f 6e 61 6c 20 4c | 61 62 6f 72 61 74 6f 72 |tional L|aborator|
|000000f0| 79 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 54 |y.Messag|e-ID: <T|
|00000100| 41 4e 4d 4f 59 2e 39 36 | 4a 61 6e 32 35 32 30 31 |ANMOY.96|Jan25201|
|00000110| 35 31 31 40 71 63 64 2e | 6c 61 6e 6c 2e 67 6f 76 |511@qcd.|lanl.gov|
|00000120| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 64 |>.Refere|nces: <d|
|00000130| 6f 63 2d 31 35 30 31 39 | 36 31 35 31 31 30 31 40 |oc-15019|6151101@|
|00000140| 64 6f 63 2e 66 61 72 61 | 6c 6c 6f 6e 2e 63 6f 6d |doc.fara|llon.com|
|00000150| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|00000160| 6f 73 74 3a 20 71 63 64 | 2e 6c 61 6e 6c 2e 67 6f |ost: qcd|.lanl.go|
|00000170| 76 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |v.Mime-V|ersion: |
|00000180| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000190| 3a 20 74 65 78 74 0a 49 | 6e 2d 72 65 70 6c 79 2d |: text.I|n-reply-|
|000001a0| 74 6f 3a 20 64 6f 63 40 | 6d 69 72 61 63 6c 65 2e |to: doc@|miracle.|
|000001b0| 66 61 72 61 6c 6c 6f 6e | 2e 63 6f 6d 27 73 20 6d |farallon|.com's m|
|000001c0| 65 73 73 61 67 65 20 6f | 66 20 31 35 20 4a 61 6e |essage o|f 15 Jan|
|000001d0| 20 31 39 39 36 20 32 32 | 3a 35 31 3a 33 30 20 47 | 1996 22|:51:30 G|
|000001e0| 4d 54 0a 0a 2d 2d 74 65 | 78 74 20 66 6f 6c 6c 6f |MT..--te|xt follo|
|000001f0| 77 73 20 74 68 69 73 20 | 6c 69 6e 65 2d 2d 0a 49 |ws this |line--.I|
|00000200| 6e 20 61 72 74 69 63 6c | 65 20 3c 64 6f 63 2d 31 |n articl|e <doc-1|
|00000210| 35 30 31 39 36 31 35 31 | 31 30 31 40 64 6f 63 2e |50196151|101@doc.|
|00000220| 66 61 72 61 6c 6c 6f 6e | 2e 63 6f 6d 3e 0a 64 6f |farallon|.com>.do|
|00000230| 63 40 6d 69 72 61 63 6c | 65 2e 66 61 72 61 6c 6c |c@miracl|e.farall|
|00000240| 6f 6e 2e 63 6f 6d 20 28 | 65 72 69 63 20 64 6f 63 |on.com (|eric doc|
|00000250| 20 6b 61 6d 70 6d 61 6e | 29 20 77 72 69 74 65 73 | kampman|) writes|
|00000260| 3a 20 0a 3c 73 6e 69 70 | 3e 0a 20 20 20 49 20 77 |: .<snip|>. I w|
|00000270| 6f 75 6c 64 20 6c 69 6b | 65 20 64 65 74 65 72 6d |ould lik|e determ|
|00000280| 69 6e 65 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ine the |number o|
|00000290| 66 20 65 6c 65 6d 65 6e | 74 73 20 69 6e 20 61 6e |f elemen|ts in an|
|000002a0| 20 61 72 72 61 79 20 65 | 6d 62 65 64 64 65 64 20 | array e|mbedded |
|000002b0| 69 6e 20 61 0a 20 20 20 | 73 74 72 75 63 74 75 72 |in a. |structur|
|000002c0| 65 20 61 74 20 63 6f 6d | 70 69 6c 65 20 74 69 6d |e at com|pile tim|
|000002d0| 65 2c 20 6c 69 6b 65 20 | 73 6f 3a 0a 0a 20 20 20 |e, like |so:.. |
|000002e0| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 09 7b |typedef |struct.{|
|000002f0| 0a 09 20 20 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |.. uns|igned lo|
|00000300| 6e 67 09 61 5b 5d 3b 0a | 09 20 20 20 73 69 7a 65 |ng.a[];.|. size|
|00000310| 5f 74 09 09 09 63 6f 75 | 6e 74 3b 0a 20 20 20 7d |_t...cou|nt;. }|
|00000320| 09 43 6f 75 6e 74 41 72 | 72 61 79 3b 09 0a 0a 54 |.CountAr|ray;...T|
|00000330| 68 65 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 20 69 |he decla|ration i|
|00000340| 73 20 69 6c 6c 65 67 61 | 6c 20 43 2e 20 41 6e 79 |s illega|l C. Any|
|00000350| 20 63 6f 6d 70 69 6c 65 | 72 20 77 68 69 63 68 20 | compile|r which |
|00000360| 64 6f 65 73 20 6e 6f 74 | 20 64 69 61 67 6e 6f 73 |does not| diagnos|
|00000370| 65 0a 74 68 69 73 20 69 | 73 20 6e 6f 74 20 61 20 |e.this i|s not a |
|00000380| 63 6f 6e 66 6f 72 6d 69 | 6e 67 20 43 20 63 6f 6d |conformi|ng C com|
|00000390| 70 69 6c 65 72 2e 20 28 | 4e 6f 72 20 69 73 20 61 |piler. (|Nor is a|
|000003a0| 6e 79 20 63 6f 6d 70 69 | 6c 65 72 20 74 68 61 74 |ny compi|ler that|
|000003b0| 20 61 63 63 65 70 74 73 | 0a 2f 2f 20 63 6f 6d 6d | accepts|.// comm|
|000003c0| 65 6e 74 73 20 77 69 74 | 68 6f 75 74 20 64 69 61 |ents wit|hout dia|
|000003d0| 67 6e 6f 73 69 73 2e 29 | 0a 0a 49 66 20 79 6f 75 |gnosis.)|..If you|
|000003e0| 20 75 73 65 20 61 6e 20 | 69 6c 6c 65 67 61 6c 20 | use an |illegal |
|000003f0| 63 6f 6e 73 74 72 75 63 | 74 2c 20 77 68 61 74 20 |construc|t, what |
|00000400| 74 68 65 20 63 6f 6d 70 | 69 6c 65 72 20 64 6f 65 |the comp|iler doe|
|00000410| 73 20 74 6f 20 69 74 20 | 69 73 0a 63 6f 6d 70 6c |s to it |is.compl|
|00000420| 65 74 65 6c 79 20 75 70 | 74 6f 20 74 68 65 20 63 |etely up|to the c|
|00000430| 6f 6d 70 69 6c 65 72 2e | 0a 0a 43 68 65 65 72 73 |ompiler.|..Cheers|
|00000440| 0a 54 61 6e 6d 6f 79 0a | 2d 2d 0a 74 61 6e 6d 6f |.Tanmoy.|--.tanmo|
|00000450| 79 40 71 63 64 2e 6c 61 | 6e 6c 2e 67 6f 76 28 31 |y@qcd.la|nl.gov(1|
|00000460| 32 38 2e 31 36 35 2e 32 | 33 2e 34 36 29 20 44 45 |28.165.2|3.46) DE|
|00000470| 43 4e 45 54 3a 20 42 45 | 54 41 3a 3a 22 74 61 6e |CNET: BE|TA::"tan|
|00000480| 6d 6f 79 40 6c 61 6e 6c | 2e 67 6f 76 22 28 31 2e |moy@lanl|.gov"(1.|
|00000490| 32 31 38 3d 31 32 34 32 | 29 0a 54 61 6e 6d 6f 79 |218=1242|).Tanmoy|
|000004a0| 20 42 68 61 74 74 61 63 | 68 61 72 79 61 20 4f 3a | Bhattac|harya O:|
|000004b0| 54 2d 38 28 4d 53 20 42 | 32 38 35 29 4c 41 4e 4c |T-8(MS B|285)LANL|
|000004c0| 2c 4e 4d 38 37 35 34 35 | 20 48 3a 23 39 2c 33 30 |,NM87545| H:#9,30|
|000004d0| 30 30 2c 54 72 69 6e 69 | 74 79 20 44 72 69 76 65 |00,Trini|ty Drive|
|000004e0| 2c 4e 4d 38 37 35 34 34 | 0a 4f 74 68 65 72 73 20 |,NM87544|.Others |
|000004f0| 73 65 65 20 3c 67 6f 70 | 68 65 72 3a 2f 2f 79 61 |see <gop|her://ya|
|00000500| 6c 65 69 6e 66 6f 2e 79 | 61 6c 65 2e 65 64 75 3a |leinfo.y|ale.edu:|
|00000510| 37 37 30 30 2f 30 30 2f | 49 6e 74 65 72 6e 65 74 |7700/00/|Internet|
|00000520| 2d 50 65 6f 70 6c 65 2f | 69 6e 74 65 72 6e 65 74 |-People/|internet|
|00000530| 2d 6d 61 69 6c 3e 2c 0a | 3c 68 74 74 70 3a 2f 2f |-mail>,.|<http://|
|00000540| 61 6c 70 68 61 2e 61 63 | 61 73 74 2e 6e 6f 76 61 |alpha.ac|ast.nova|
|00000550| 2e 65 64 75 2f 63 67 69 | 2d 62 69 6e 2f 69 6e 6d |.edu/cgi|-bin/inm|
|00000560| 67 71 2e 70 6c 3e 6f 72 | 3c 66 74 70 3a 2f 2f 63 |gq.pl>or|<ftp://c|
|00000570| 73 64 34 2e 63 73 64 2e | 75 77 6d 2e 65 64 75 2f |sd4.csd.|uwm.edu/|
|00000580| 70 75 62 2f 0a 69 6e 74 | 65 72 6e 65 74 77 6f 72 |pub/.int|ernetwor|
|00000590| 6b 2d 6d 61 69 6c 2d 67 | 75 69 64 65 3e 2e 20 2d |k-mail-g|uide>. -|
|000005a0| 2d 20 3c 68 74 74 70 3a | 2f 2f 6e 71 63 64 2e 6c |- <http:|//nqcd.l|
|000005b0| 61 6e 6c 2e 67 6f 76 2f | 70 65 6f 70 6c 65 2f 74 |anl.gov/|people/t|
|000005c0| 61 6e 6d 6f 79 2f 74 61 | 6e 6d 6f 79 2e 68 74 6d |anmoy/ta|nmoy.htm|
|000005d0| 6c 3e 0a 66 61 78 3a 20 | 31 20 28 35 30 35 29 20 |l>.fax: |1 (505) |
|000005e0| 36 36 35 20 33 30 30 33 | 20 20 20 76 6f 69 63 65 |665 3003| voice|
|000005f0| 3a 20 31 20 28 35 30 35 | 29 20 36 36 35 20 34 37 |: 1 (505|) 665 47|
|00000600| 33 33 20 20 20 20 5b 20 | 48 6f 6d 65 3a 20 31 20 |33 [ |Home: 1 |
|00000610| 28 35 30 35 29 20 36 36 | 32 20 35 35 39 36 20 5d |(505) 66|2 5596 ]|
|00000620| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+